# Docker image for springboot file run
# VERSION 0.0.1
# Author: lzj
# base image use java8
FROM java:8
# auther
MAINTAINER lzj <lzj@gmail.com>
VOLUME /tmp 
ADD hot-1.0.jar hot.jar 
# run jar
RUN bash -c 'touch /hot.jar'
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/hot.jar"]